package example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import example.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    List<User> findList();

    //mybatis_plus 自定义分页查询
    Page<User> myPage(Page<?> page, @Param("user") User userQuery);
}
